//
//  UNOpenUDID.h
//  Union
//
//  Created by xiaowuxiaowu on 16/8/25.
//  Copyright © 2016年 xiaowuxiaowu. All rights reserved.
//

#import <Foundation/Foundation.h>
//
// Usage:
//    #include "OpenUDID.h"
//    NSString* openUDID = [OpenUDID value];
//

#define kOpenUDIDErrorNone          0
#define kOpenUDIDErrorOptedOut      1
#define kOpenUDIDErrorCompromised   2

@interface UNOpenUDID : NSObject

+ (NSString*) value;
+ (NSString*) valueWithError:(NSError**)error;
+ (void) setOptOut:(BOOL)optOutValue;

@end
